package org.ihelpuoo.lang;

public class RenderException extends Exception
{
	private static final long	serialVersionUID	= -7765242353750170051L;

	public RenderException()
	{
		super();
	}

	public RenderException(String message)
	{
		super(message);
	}

	public RenderException(String message, Throwable cause)
	{
		super(message,cause);
	}

	public RenderException(Throwable cause)
	{
		super(cause);
	}

	public static RenderException wrap(Exception e)
	{
		if (e instanceof RenderException)
		{
			return (RenderException)e;
		}
		return new RenderException(e);
	}
}
